<template>
	<div class="moudle_border2">
		<span class="title" :style="{color:titleColor}">{{title}}</span>
		<slot></slot>
	</div>
</template>

<script>
	/**
	 * 大模块框里面的内容框边框
	 */
	export default {
		name: "moduleBorder2",
		props:['title','titleColor'],
	}
</script>

<style scoped lang="less">
	.moudle_border2{
		position:relative;
		border:1px dashed #00f2ff;
		margin-top: 4px;
		box-sizing: border-box;
		>.title{
			position:absolute;
			top:-10px;
			left:15px;
			color: #00f2ff;
			background-color:#081945;
			padding:0 3px;
			box-sizing:border-box;
            z-index: 1;
		}
	}
</style>